package com.example.mygrade.intercepter;

public enum GlobalConstant {
//    用户的角色
    // 教师
    TEACHER_SESSION_KEY("teacherMa"),
    TEACHER_SESSION_ID("teacherMaId"),

    // 学生
    USER_SESSION_KEY("student"),
    USER_SESSION_ID("studentId"),

    // 管理员
    MANAGE_SESSION_KEY("manage"),
    MANAGE_SESSION_ID("manageid");

    private String msg;
    GlobalConstant(String msg){
        this.msg = msg;
    }
    public String getMsg(){
        return msg;
    }
}
